import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import Header from './views/Header/header.vue'

import './assets/main.css'


// 导入全局样式
import '@/styles/index.scss'

// 导入 vant 组件库
import vant from 'vant'

// 导入 vant 样式文件
import 'vant/lib/index.css'


const app = createApp(App)

app.use(router)
app.use(vant)   //使用vant

//吧头部组件注册为全局组件
app.component('Header' , Header)
app.mount('#app')
